import type { Menu } from '@/index.d';

export const navyMenu: Menu[] = [
  {
    type: 'subMenu',
    path: 'system',
    name: 'System',
    title: '系统设置',
    redirect: '/system/user',
    fullPath: '/system',
    isShow: true,
    icon: 'Platform',
    children: [
      {
        type: 'item',
        path: 'user',
        name: 'systemUser',
        title: '用户管理',
        fullPath: '/system/user',
        isShow: true,
        component: () => import('@/views/system/user/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'role',
        name: 'systemRole',
        title: '角色管理',
        fullPath: '/system/role',
        isShow: true,
        component: () => import('@/views/system/role/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'permission',
        name: 'systemPermission',
        title: '权限管理',
        fullPath: '/system/permission',
        isShow: true,
        component: () => import('@/views/system/permission/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'group',
        name: 'systemGroup',
        title: '分组管理',
        fullPath: '/system/group',
        isShow: true,
        component: () => import('@/views/system/permission/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'department',
        name: 'systemDepartment',
        title: '组织架构',
        fullPath: '/system/department',
        isShow: true,
        component: () => import('@/views/system/department/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'operation',
        name: 'systemOperation',
        title: '操作日志',
        fullPath: '/system/operation',
        isShow: true,
        component: () => import('@/views/system/operation/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'dictionary',
        name: 'systemDictionary',
        title: '字典管理',
        fullPath: '/system/dictionary',
        isShow: true,
        component: () => import('@/views/system/dictionary/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'ai',
    name: 'ai',
    title: '智能助手',
    redirect: '/ai/chat ',
    fullPath: '/ai',
    isShow: true,
    icon: 'User',
    children: [
      {
        type: 'item',
        path: 'chat',
        name: 'aiChat',
        title: '智能对话',
        fullPath: '/ai/chat',
        isShow: true,
        component: () => import('@/views/ai/chat/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'agent',
        name: 'aiAgent',
        title: '大智能体',
        fullPath: '/ai/agent',
        isShow: true,
        component: () => import('@/views/ai/agent/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'ndeProcedure',
        name: 'aiNdeProcedure',
        title: '规程解析',
        fullPath: '/ai/ndeProcedure',
        isShow: true,
        component: () => import('@/views/ai/ndeProcedure/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'flowable',
    name: 'Flowable',
    title: '流程管理',
    redirect: '/flowable/processDefinition ',
    fullPath: '/flowable',
    isShow: true,
    icon: 'School',
    children: [
      {
        type: 'item',
        path: 'processDefinition',
        name: 'flowableProcessDefinition',
        title: '流程定义',
        fullPath: '/flowable/processDefinition',
        isShow: true,
        component: () => import('@/views/flowable/processDefinition/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'processInstance',
        name: 'flowableProcessInstance',
        title: '流程实例',
        fullPath: '/flowable/processInstance',
        isShow: true,
        component: () => import('@/views/flowable/processInstance/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'person',
    name: 'Person',
    title: '人员管理',
    redirect: '/person/personCertification',
    fullPath: '/person',
    isShow: true,
    icon: 'User',
    children: [
      {
        type: 'item',
        path: 'ndePersonCertification',
        name: 'NdePersonCertification',
        title: '无损人员证书',
        fullPath: '/person/ndePersonCertification',
        isShow: true,
        component: () => import('@/views/person/ndePersonCertification/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'ndePersonOperationRecord',
        name: 'NdePersonOperationRecord',
        title: '无损操作记录',
        fullPath: '/person/ndePersonOperationRecord',
        isShow: true,
        component: () => import('@/views/person/ndePersonOperationRecord/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'equipment',
    name: 'equipment',
    title: '设备管理',
    redirect: '/equipment/generalEquipment',
    fullPath: '/equipment',
    isShow: true,
    icon: 'Goods',
    children: [
      {
        type: 'item',
        path: 'generalEquipment',
        name: 'equipmentGeneralEquipment',
        title: '通用设备',
        fullPath: '/equipment/generalEquipment',
        isShow: true,
        component: () => import('@/views/equipment/generalEquipment/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'utProbe',
        name: 'equipmentGeneralEquipmentUtProbe',
        title: '超声探头',
        fullPath: '/equipment/utProbe',
        isShow: true,
        component: () => import('@/views/equipment/utProbe/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'consumable',
    name: 'Consumable',
    title: '耗材管理',
    redirect: '/consumable/consumableOverview',
    fullPath: '/consumable',
    isShow: true,
    icon: 'Goods',
    children: [
      {
        type: 'item',
        path: 'consumableOverview',
        name: 'ConsumableOverview',
        title: '耗材总览',
        fullPath: '/consumable/consumableOverview',
        isShow: true,
        component: () => import('@/views/consumable/consumableOverview/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'project',
    name: 'project',
    title: '项目管理',
    redirect: '/project/project',
    fullPath: '/project',
    isShow: true,
    icon: 'Flag',
    children: [
      {
        type: 'item',
        path: 'project',
        name: 'projectProject',
        title: '项目产品',
        fullPath: '/project/project',
        isShow: true,
        component: () => import('@/views/project/project/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'document',
        name: 'projectDocument',
        title: '项目文件',
        fullPath: '/project/document',
        isShow: true,
        component: () => import('@/views/project/document/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'ndeProcedure',
        name: 'projectNdeProcedure',
        title: '探伤规程',
        fullPath: '/project/ndeProcedure',
        isShow: true,
        component: () => import('@/views/project/ndeProcedure/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'weldList',
        name: 'projectWeldList',
        title: '焊缝清单',
        fullPath: '/project/weldList',
        isShow: true,
        component: () => import('@/views/project/weldList/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'ndeCommission',
    name: 'ndeCommission',
    title: '无损委托',
    redirect: '/ndeCommission/ndeCommission',
    fullPath: '/ndeCommission',
    isShow: true,
    icon: 'User',
    children: [
      {
        type: 'item',
        path: 'ndeCommission',
        name: 'ndeCommissionNdeCommission',
        title: '起草委托',
        fullPath: '/ndeCommission/ndeCommission',
        isShow: true,
        component: () => import('@/views/ndeCommission/ndeCommission/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'modifyCommission',
        name: 'ndeCommissionModifyCommission',
        title: '修改委托',
        fullPath: '/ndeCommission/modifyCommission',
        isShow: true,
        component: () => import('@/views/ndeCommission/modifyCommission/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'arrangeCommission',
        name: 'ndeCommissionArrangeCommission',
        title: '派发委托',
        fullPath: '/ndeCommission/arrangeCommission',
        isShow: true,
        component: () => import('@/views/ndeCommission/arrangeCommission/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'allCommission',
        name: 'ndeCommissionAllCommission',
        title: '全部委托',
        fullPath: '/ndeCommission/allCommission',
        isShow: true,
        component: () => import('@/views/ndeCommission/allCommission/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'ndeReport',
    name: 'ndeReport',
    title: '无损报告',
    redirect: '/ndeReport/reviewRecord',
    fullPath: '/ndeReport',
    isShow: true,
    icon: 'User',
    children: [
      {
        type: 'item',
        path: 'originalRecord',
        name: 'ndeReportOriginalRecord',
        title: '原始记录',
        fullPath: '/ndeReport/originalRecord',
        isShow: true,
        component: () => import('@/views/ndeReport/originalRecord/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'rejectPart',
        name: 'ndeReportRejectPart',
        title: '缺陷工件',
        fullPath: '/ndeReport/rejectPart',
        isShow: true,
        component: () => import('@/views/ndeReport/reviewRecord/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'reviewRecord',
        name: 'ndeReportReviewRecord',
        title: '报告审查',
        fullPath: '/ndeReport/reviewRecord',
        isShow: true,
        component: () => import('@/views/ndeReport/reviewRecord/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'reviewRecordAnalysis',
        name: 'ndeReportReviewRecordAnalysis',
        title: '审查意见分析',
        fullPath: '/ndeReport/reviewRecordAnalysis',
        isShow: true,
        component: () => import('@/views/ndeReport/reviewRecordAnalysis/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'asmePerson',
    name: 'AsmePerson',
    title: '美标人员',
    redirect: '/asmePerson/asmePersonInfo',
    fullPath: '/asmePerson',
    isShow: true,
    icon: 'User',
    children: [
      {
        type: 'item',
        path: 'asmePersonInfo',
        name: 'AsmePersonInfo',
        title: '美标人员信息',
        fullPath: '/asmePerson/asmePersonInfo',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonInfo/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'asmePersonCertification',
        name: 'AsmePersonCertification',
        title: '美标人员证书',
        fullPath: '/asmePerson/asmePersonCertification',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonCertification/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'asmePersonTrainInstructor',
        name: 'AsmePersonTrainInstructor',
        title: '美标培训导师',
        fullPath: '/asmePerson/asmePersonTrainInstructor',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonTrainInstructor/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'asmePersonTrainCourse',
        name: 'AsmePersonTrainCourse',
        title: '美标课程设计',
        fullPath: '/asmePerson/asmePersonTrainCourse',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonTrainCourse/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'asmePersonExamContent',
        name: 'AsmePersonExamContent',
        title: '美标试卷设计',
        fullPath: '/asmePerson/asmePersonExamContent',
        isShow: true,
        component: () => import('@/views/asmePerson/asmePersonExamContent/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'purchase',
    name: 'purchase',
    title: '采购管理',
    redirect: '/purchase/product',
    fullPath: '/purchase',
    isShow: true,
    icon: 'Van',
    children: [
      {
        type: 'item',
        path: 'product',
        name: 'purchaseProduct',
        title: '产品管理',
        fullPath: '/purchase/product',
        isShow: true,
        component: () => import('@/views/purchase/product/index.vue'),
        icon: ''
      }
    ]
  },

  {
    type: 'subMenu',
    path: 'technique',
    name: 'technique',
    title: '检测工艺',
    redirect: '/technique/ptTechnique',
    fullPath: '/technique',
    isShow: true,
    icon: 'Van',
    children: [
      {
        type: 'item',
        path: 'ptTechnique',
        name: 'techniquePtTechnique',
        title: '渗透检测工艺',
        fullPath: '/technique/ptTechnique',
        isShow: true,
        component: () => import('@/views/technique/ptTechnique/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'mtTechnique',
        name: 'techniqueMtTechnique',
        title: '磁粉检测工艺',
        fullPath: '/technique/mtTechnique',
        isShow: true,
        component: () => import('@/views/technique/mtTechnique/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'utTechnique',
        name: 'techniqueUtTechnique',
        title: '超声检测工艺',
        fullPath: '/technique/utTechnique',
        isShow: true,
        component: () => import('@/views/technique/utTechnique/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'rtTechnique',
        name: 'techniqueRtTechnique',
        title: '射线检测工艺',
        fullPath: '/technique/rtTechnique',
        isShow: true,
        component: () => import('@/views/technique/rtTechnique/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'infrastructure',
    name: 'infrastructure',
    title: '基础设施',
    redirect: '/infrastructure/relation',
    fullPath: '/infrastructure',
    isShow: true,
    icon: 'Van',
    children: [
      {
        type: 'item',
        path: 'relation',
        name: 'infrastructureRelation',
        title: '相关方管理',
        fullPath: '/infrastructure/relation',
        isShow: true,
        component: () => import('@/views/infrastructure/relation/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'bigScreen',
    name: 'bigScreen',
    title: '大屏展示',
    redirect: '/bigScreen/relation',
    fullPath: '/bigScreen',
    isShow: true,
    icon: 'Van',
    children: [
      {
        type: 'item',
        path: 'ndeReportProcess',
        name: 'bigScreenNdeReportProcess',
        title: '报告流程',
        fullPath: '/bigScreen/ndeReportProcess',
        isShow: true,
        component: () => import('@/views/bigScreen/ndeReportProcess/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'knowledge',
    name: 'knowledge',
    title: '知识文档',
    redirect: '/knowledge/knowledgeStandard',
    fullPath: '/knowledge',
    isShow: true,
    icon: 'Van',
    children: [
      {
        type: 'item',
        path: 'standard',
        name: 'knowledgeStandard',
        title: '标准规范',
        fullPath: '/knowledge/standard',
        isShow: true,
        component: () => import('@/views/knowledge/standard/index.vue'),
        icon: ''
      }
    ]
  },
  {
    type: 'subMenu',
    path: 'test',
    name: 'Test',
    title: '网站测试',
    redirect: '/test/sfc',
    fullPath: '/test',
    isShow: true,
    icon: 'Van',
    children: [
      {
        type: 'item',
        path: 'sfc',
        name: 'testSfc',
        title: '单文组件',
        fullPath: '/test/sfc',
        isShow: true,
        component: () => import('@/views/test/sfc/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'ai',
        name: 'testAi',
        title: '人工智能',
        fullPath: '/test/ai',
        isShow: true,
        component: () => import('@/views/test/ai/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'component',
        name: 'testComponent',
        title: '组件测试',
        fullPath: '/test/component',
        isShow: true,
        component: () => import('@/views/test/component/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'upload',
        name: 'testUpload',
        title: '文件上传',
        fullPath: '/test/upload',
        isShow: true,
        component: () => import('@/views/test/upload/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'echarts',
        name: 'testEcharts',
        title: '大屏展示',
        fullPath: '/test/echarts',
        isShow: true,
        component: () => import('@/views/test/echarts/index.vue'),
        icon: ''
      },
      {
        type: 'item',
        path: 'threeJS',
        name: 'testThreeJS',
        title: '三维建模',
        fullPath: '/test/threeJS',
        isShow: true,
        component: () => import('@/views/test/threeJS/index.vue'),
        icon: ''
      }
    ]
  }
];
